package com.edu.hibernate;

import java.sql.Timestamp;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private String idUser;
	private String userName;
	private String password;
	private Timestamp lastLogin;
	private Boolean isActive;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String idUser, String userName, String password) {
		this.idUser = idUser;
		this.userName = userName;
		this.password = password;
	}

	/** full constructor */
	public User(String idUser, String userName, String password,
			Timestamp lastLogin, Boolean isActive) {
		this.idUser = idUser;
		this.userName = userName;
		this.password = password;
		this.lastLogin = lastLogin;
		this.isActive = isActive;
	}

	// Property accessors

	public String getIdUser() {
		return this.idUser;
	}

	public void setIdUser(String idUser) {
		this.idUser = idUser;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Timestamp getLastLogin() {
		return this.lastLogin;
	}

	public void setLastLogin(Timestamp lastLogin) {
		this.lastLogin = lastLogin;
	}

	public Boolean getIsActive() {
		return this.isActive;
	}

	public void setIsActive(Boolean isActive) {
		this.isActive = isActive;
	}

}